<template></template>
<script>
import { defineComponent } from 'vue'
import { useMessage } from 'naive-ui'

export default defineComponent({
  name: 'MessageContent',
  setup() {
    //挂载在 window 方便与在js中使用
    window['$message'] = useMessage()
  }
})
</script>
